home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
comm2
/
pktflt21.lha
/
START-AREXX
< prev
Wrap
Text File
|
1995-04-17
|
2KB
|
56 lines
; ======================== Start-ARexx ==========================
; Loads the libraries required by ARexx and starts the ARexx server.
; This could be placed in your startup-sequence to activate ARexx.
Assign RexxC: D0H1:RexxC
; N.B. The double-precision math library mathieeedoubbas.library must
; be in the LIBS: directory. If this is not convenient, copy it into
; this disk's :libs directory and uncomment the following line ...
RexxC:loadlib Libs:mathieeedoubbas.library
RexxC:loadlib Libs:rexxsyslib.library
if error
echo "Couldn't load rexxsyslib.library"
quit 20
endif
RexxC:loadlib Libs:rexxsupport.library
if error
echo "Couldn't load rexxsupport.library"
quit 20
endif
RexxC:loadlib Libs:rexxdossupport.library
if error
echo "Couldn't load rexxdossupport.library"
endif
RexxC:loadlib Libs:hGRexxSupport.library
if error
echo "Couldn't load hGRexxSupport.library"
endif
; Start the ARexx server if it's not already active
RexxC:waitforport -i REXX
if warn
RexxC:rexxmast >nil:
RexxC:waitforport REXX
endif
; Make the support library available
RexxC:rxlib rexxsupport.library 0 -30 0
; Make the WB2 DOS support library available
RexxC:rxlib rexxdossupport.library 0 -30 2
; Make the WB2 DOS support library available
RexxC:rxlib hGRexxSupport.library 0 -30 0
; Assign the REXX: directory if appropriate
Assign REXX: OS2:rexx
; Start up RexxPlus server
IF EXISTS REXXP:RPstart
Run RexxP:RPstart
RexxC:waitforport -i RPREXX
ENDIF